package com.java.demo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lishuo
 * Date: 2023-09-01
 * Time: 21:40
 */
@Configuration
public class ConfigInfo {
    @Bean
    public Config config() {
        // 这里是伪代码
        // ...
        // 获取到 Config 的实例
        return config;
    }
}
